<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>周末看新闻--网罗一周热门资讯</title>
    <link rel="shortcut icon" href="__ROOT__/Public/images/favicon.ico">
    <link rel="stylesheet" href="__ROOT__/Public/css/bootstrap.min.css">
    <link rel="stylesheet" href="__ROOT__/Public/css/app.css">
    <script src="__ROOT__/Public/js/jquery-2.0.0.min.js"></script>
    <script src="__ROOT__/Public/js/bootstrap.min.js"></script>
    <style type="text/css">
    .img{
     margin:10% 0 0 17%; 
     width:70%; 
     height:auto;
    }
    .acontent{
    margin-top: 30px;
    border-top: 1px solid #ebebeb;
    padding: 21px 0 0 21px;
	font-size:1.5em;
    }
    </style>
</head>
<body class="home-template">
    <header class="main-header">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <a class="branding" href="__ROOT__/index.php" title="周末看新闻--网罗一周热门资讯">
                        <img src="__ROOT__/Public/images/logo.png">
                    </a>
                </div>
            </div>
        </div>
    </header>
    <nav class="main-navigation">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="navbar-header">
                        <span class="nav-toggle-button collapse" data-target="#main-menu">
                            <span class="sr-only"></span>
                            <i class="fa fa-bars"></i>
                        </span>
                    </div>
                    <div class="collapse navbar-collapse" id="main-menu">
                        <ul class="menu">
                            <li role="presentation">
                                <a href="__ROOT__/index.php">首页</a>
                            </li>
                            <li class="nav-current" role="presentation">
                                <a href="#">浏览新闻</a>
                            </li>
                            <li role="presentation">
                                <a href="#">添加新闻</a>
                            </li>
                            <li role="presentation">
                                <a href="#">关于我们</a>
                            </li>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </nav>
    <section class="content-wrap">
        <div class="container">
            <div class="row">
                <main class="col-md-8 main-content">
                    <article id="{$data.id}" class="post">
                        <div class="post-head">
                            <h1 class="post-title">
                                <a href="#">{$data.title}</a>
                            </h1>
                            <div class="post-meta">
                                <span class="author">
                                    	作者
                                    <a href="#">{$data.eauthor}</a>
                                </span>
                                •
                                <time class="date" datetime="{$vo.etime}">{$data.etime}</time>
                            </div>
                        </div>
                        <div class="post-content">
                            <p>
                           	   <img alt="{$vo.title}" class="img" src="__ROOT__/Public/images/uppic/{$data.pic}">
                            </p>
                        </div>
                        <div class="post-permalink acontent">
                            {$data.content}
                        </div>
                        <div class="footer clearfix">
                            <hr>
                            <div class="pull-right tag-list">
                                <a href="__ROOT__/index.php/Home/Form/edit/id/{$data.id}" class="btn btn-default">编辑新闻内容</a>
                                <a href="__ROOT__/index.php/Home/Form/delete/id/{$data.id}" class="btn btn-default">删除该条新闻</a>
                            </div>
                        </div>
                    </article>
        
                </main>
                <aside class="col-md-4 sidebar">
                    <div class="widget">
                        <h4 class="title">意见反馈</h4>
                        <div class="content community">
                            <p>QQ群：1234567890</p>
                            <p>
                                <a href="#">官方论坛</a>
                            </p>
                            <p>
                                <a href="#">官方微博</a>
                            </p>
                        </div>
                    </div>
                    <div class="widget">
                        <h4 class="title">标签云</h4>
                        <div class="content tag-cloud">
                            <a href="#">周末看新闻</a>
                            <a href="#">新闻热点</a>
                            <a href="#">推荐新闻</a>
                            <a href="#">图片</a>
                            <a href="#">自定义界面</a>
                        </div>
                    </div>
                </aside>
            </div>
        </div>
    </section>
    <footer class="main-footer">
        <div class="container">
            <div class="row">
                <div class="col-md-4">
                    <div class="widget">
                        <h4 class="title">最热新闻</h4>
                        <div class="content recent-post">
                            <div class="recent-single-post">
                                <a href="#" class="post-title">第一条新闻的标题</a>
                                <div class="date">2015-12-24</div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="widget">
                        <h4 class="title">标签云</h4>
                        <div class="content tag-cloud">
                            <a href="#">周末看新闻</a>
                            <a href="#">新闻热点</a>
                            <a href="#">推荐新闻</a>
                            <a href="#">图片</a>
                            <a href="#">自定义界面</a>
                        </div>
                    </div>
                </div>
                <div class="col-md-4">
                    <div class="widget">
                        <h4 class="title">合作伙伴</h4>
                        <div class="content tag-cloud">
                            <a href="#">新浪网</a>
                            <a href="#">搜狐网</a>
                            <a href="#">百度网</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </footer>
    <script>
    $('ul li').click(function(){
    	$(this).addClass('nav-current').siblings().removeClass('nav-current');
    });
    </script>
</body>
</html>




















